package com.douqu.game.auth.database.model;

import java.util.Date;

/**
 * @Author: wangzhenfei
 * @Description:
 * @Date: 2017-11-13 15:00
 */
public class CdkCodeModel {
    private Integer id;

    /**
     * 礼包名称
     */
    private String cdkName;

    /**
     * 渠道
     */
    private Integer platform;

    /**
     * 项目
     */
    private String project;

    /**
     * 使用类型
     */
    private Integer type;

    /**
     * 组id
     */
    private	String group;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 活动类型
     */
    private Integer activityType;

    /**
     * cdk总数
     */
    private Integer total;

    /**
     * 使用成功次数
     */
    private Integer successTotal;

    /**
     * 奖励
     */
    private String reward;

    /**
     * 限制 条件之 创建角色时间
     */
    private Date createRoleTime;

    /**
     * 限制条件 之 区服标识
     */
    private String servers;

    /**
     * 限制条件 之 等级
     */
    private Integer level;

    /**
     * 编码
     */
    private String code;

    /**
     * 操作记录id
     */
    private Integer operaRecordId;

    /**
     * cdk状态  0未审核 1已审核(已经审核的进行编辑后变为未审核,加量不影响审核)
     */
    private Integer status;

    public Integer getOperaRecordId() {
        return operaRecordId;
    }

    public void setOperaRecordId(Integer operaRecordId) {
        this.operaRecordId = operaRecordId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCdkName() {
        return cdkName;
    }

    public void setCdkName(String cdkName) {
        this.cdkName = cdkName;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getSuccessTotal() {
        return successTotal;
    }

    public void setSuccessTotal(Integer successTotal) {
        this.successTotal = successTotal;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getCreateRoleTime() {
        return createRoleTime;
    }

    public void setCreateRoleTime(Date createRoleTime) {
        this.createRoleTime = createRoleTime;
    }

    public String getServers() {
        return servers;
    }

    public void setServers(String servers) {
        this.servers = servers;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "CdkCodeModel [id=" + id + ", cdkName=" + cdkName + ", platform=" + platform + ", project=" + project
                + ", type=" + type + ", group=" + group + ", startTime=" + startTime + ", endTime=" + endTime
                + ", activityType=" + activityType + ", total=" + total + ", successTotal=" + successTotal + ", reward="
                + reward + ", createRoleTime=" + createRoleTime + ", servers=" + servers + ", level=" + level
                + ", code=" + code + ", operaRecordId=" + operaRecordId + "]";
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
